package com.example.wm.SanWar.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("同盟统计")
public class AllianceStatistics {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField("表1时间")
    private LocalDateTime time1;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField("表2时间")
    private LocalDateTime  time2;
    @TableField("同盟号")
    private String tmnumber;
    @TableField("上传人")
    private String name;
    @TableField("上传人id")
    private Integer createid;
    @TableField("上传时间")
    private String createtime;
    @TableField("上传人同盟关系id")
    private Integer tmid;
    @TableField("最低战功")
    private Integer minMillitary;

}
